#{extends 'main.html' /}
#{set title:'用户注册' /}
#{set 'moreScripts'}
	#{script 'user.js' /}
#{/set}
#{set 'moreStyles'}
     #{stylesheet 'user.css' /}
#{/set}

<div class="user_login_body">
	<div class="user_login_left">
		
	</div>
	<div class="user_login_right">
		<form id="saveUserForm" action="@{users.save()}" method="post">
			<h1 class="user_login_title">用户注册</h1>
			<div class="input_wrap">
			   <label class="log_label">用户邮箱</label>
			   <input class="input_text" type="text" name="user.username">
			</div>
			<div class="input_wrap">
			   <label class="log_label">设定密码</label>
			   <input class="input_text" type="password" name="user.password">
			</div>
			<div class="input_wrap">
			   <label class="log_label">确认密码</label>
			   <input class="input_text" type="password" name="user.passwordConfirmation">
			</div>
			<div class="input_wrap">
			   <button type="button" class="input_button" id="saveUserBtn">注&nbsp;&nbsp;册</button>
			</div>
		</form>
	</div>
</div>